package com.atguigu.seckill.service;

import com.atguigu.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @author : wenchao.long
 * @date : Created in 2021/8/23 16:11 周一
 * @description :
 */
public interface SeckillService {

    void uploadSeckillSkuLatest3Days();

    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);

}
